import {useSearchParams} from 'react-router-dom'
function About() {
  const [params] = useSearchParams() 
  let id = params.getAll('id') // 获取参数
  return (
    <div>
      <div>about</div>
      <div>参数： {id}</div>
    </div>
  )
}
export default About